import request from '@/utils/request'
// 查询列表
export function listAPI (query) {
    return request({
        url: '/wx/system/user/list',
        method: 'get',
        params: query
    })
}

// 查询详细
export function getAPI (id) {
    return request({
        url: '/wx/system/user/' + id,
        method: 'get'
    })
}

// 修改
export function updateAPI (data) {
    return request({
        url: '/wx/system/user/upExamine',
        method: 'put',
        data
    })
}

// 成为审核人
export function upExamineAPI (data) {
    return request({
        url: '/wx/system/user/isExamine',
        method: 'put',
        data
    })
}

// 删除
export function deldateAPI (data) {
    return request({
        url: '/wx/system/user/' + data,
        method: 'DELETE',
    })
}